DeviceOrientationDomain

class DeviceOrientationDomain : Domain

DeviceOrientationDomain represents DeviceOrientation protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

clearDeviceOrientationOverride
Link copied to clipboard
fun clearDeviceOrientationOverride(): Single<RequestResponseFrame>
Clears the overridden Device Orientation.
description
Link copied to clipboard
fun description(): String
Returns domain description.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.
setDeviceOrientationOverride
Link copied to clipboard
Overrides the Device Orientation.

Sources

jvm source
Link copied to clipboard